package bhoost.jsi;

public class LocationEvent extends Event {
  public double latitude;
  public double longitude;

  public LocationEvent() {
    this.eventType = Event.Type.geoLocation;
  }

  public double getLatitude() {
    return latitude;
  }

  public double getLongitude() {
    return longitude;
  }

  public LocationEvent clone() throws CloneNotSupportedException {
    LocationEvent event = new LocationEvent();
    event.latitude = latitude;
    event.longitude = longitude;
    return event;
//    return (LocationEvent)super.clone();
  }
}
